Feature: Validacion funcionalidades Ghost
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
1
|
|
||||
| Total duration: | |||||
| 0m 14.014s |
Scenario: Como usuario, quiero crear un post, y si no me gusta eliminarlo.
Before
0m 1.339s
Given
I navigate to page "https://ghost-3llp.onrender.com/ghost/#/signin"
0m 2.798s
When
I enter email "testerJunior@gmail.com"
0m 0.339s
And
I enter password "testerjunior1"
0m 0.278s
And
I click login
0m 0.298s
And
I click on posts
0m 1.883s
And
I click on new post
0m 0.318s
And
I enter post title "Nueva publicación eliminar" in the content field
0m 0.279s
And
I enter post content "contenido de la nueva publicación eliminar" in the content field
0m 0.368s
And
I click publish
0m 1.365s
And
I click continue, final review
0m 0.323s
And
I click publish post, right now
0m 0.310s
And
I click Back to editor
0m 1.580s
And
I click on posts
0m 0.328s
Then
I verify that a post with text "Nueva publicación eliminar" exists
0m 0.326s
When
I click on a post with name "Nueva publicación eliminar"
0m 0.233s
And
I click on the post options element
0m 0.919s
And
I scroll to the delete post button and click it
0m 0.398s
Then
I verify that an header with text "Are you sure you want to delete this post?" exists
0m 0.271s
+ Show Error
Error: No se encontró un <h1> con el texto 'Are you sure you want to delete this post?'.
at KrakenWorld.<anonymous> (/Users/feliperivera/Desktop/Kraken/features/web/step_definitions/step.js:244:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
When
I click on Delete
0m 0.000s
Then
I verify that a post with text "Nueva publicación eliminar" does not exist
0m 0.000s
After
0m 0.061s
Screenshots
Before
NO IMAGE AVAILABLE
Given
I navigate to page "https://ghost-3llp.onrender.com/ghost/#/signin"
When
I enter email "testerJunior@gmail.com"
And
I enter password "testerjunior1"
And
I click login
And
I click on posts
And
I click on new post
And
I enter post title "Nueva publicación eliminar" in the content field
And
I enter post content "contenido de la nueva publicación eliminar" in the content field
And
I click publish
And
I click continue, final review
And
I click publish post, right now
And
I click Back to editor
And
I click on posts
Then
I verify that a post with text "Nueva publicación eliminar" exists
When
I click on a post with name "Nueva publicación eliminar"
And
I click on the post options element
And
I scroll to the delete post button and click it
Then
I verify that an header with text "Are you sure you want to delete this post?" exists
When
I click on Delete
NO IMAGE AVAILABLE
Then
I verify that a post with text "Nueva publicación eliminar" does not exist
NO IMAGE AVAILABLE
After
NO IMAGE AVAILABLE